package cn.niit.pm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 实体类；与tb_attendance表对应
 * //出勤编号
 * //员工编号
 * //签到时间
 * //是否迟到
 * //签退时间
 * //是否早退
 *
 * @author Yupengfei
 */
@Data
@Alias("Attendance")
@ApiModel("考勤实体类")
public class Attendance extends BaseEntity {
    private Long attendanceId;
    private Long employeeId;
    private Date checkTime;
    private Integer lateOrNot;
    private Date singOutTime;
    private Integer leaveEarlyOrNot;
    private String employeeName;
    private Long departmentId;
    private String departmentName;
    private String postName;

}
